<?php /* Smarty version Smarty-3.1.6, created on 2013-04-07 16:46:36
         compiled from "/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/RealStorage/index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:19354421795161326c40b466-81760295%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '00d0e601b65bb3243d02d1fd50476ff5964ba09f' => 
    array (
      0 => '/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/RealStorage/index.tpl',
      1 => 1364183643,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '19354421795161326c40b466-81760295',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'lang' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_5161326c513c4',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5161326c513c4')) {function content_5161326c513c4($_smarty_tpl) {?><?php if (!is_callable('smarty_function_wz')) include '/home/zmx/erp2.1/DzhPHP/FrameWork/Extend/Vendor/Smarty/plugins/function.wz.php';
if (!is_callable('smarty_function_note')) include '/home/zmx/erp2.1/DzhPHP/FrameWork/Extend/Vendor/Smarty/plugins/function.note.php';
?><?php echo smarty_function_wz(array(),$_smarty_tpl);?>

<form method="POST" action="<?php echo U("RealStorage/index");?>
" id="search_form">
__SEARCH_START__
		<dl>
		   <dt>
					<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['product_no'];?>
：</label>
					<input type="hidden" name="query[a.product_id]">
					<input type='text' url="<?php echo U('/AutoComplete/product');?>
" jqac>
				</dt>
				<dt>
					<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['class_name_1'];?>
：</label>
					<input type="hidden" name="query[class_1]" value="<?php echo $_POST['query']['class_1'];?>
">
            		<input type='text' url="<?php echo U('/AutoComplete/productClass');?>
" where="<?php echo urlencode("class_level=1");?>
" jqac>
				</dt>
				<?php if (C('PRODUCT_CLASS_LEVEL')>=2){?>
				<dt>
					<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['class_name_2'];?>
：</label>
            		<input type="hidden" name="query[class_2]">
            		<input type='text' url="<?php echo U('/AutoComplete/productClass');?>
" where="<?php echo urlencode("class_level=2");?>
" jqac aut>
				</dt>
				<?php }?>
				<?php if (C('PRODUCT_CLASS_LEVEL')>=3){?>
				<dt>
					<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['class_name_3'];?>
：</label>
            		<input type="hidden" name="query[class_3]">
            		<input type='text' url="<?php echo U('/AutoComplete/productClass');?>
" where="<?php echo urlencode("class_level=3");?>
" jqac>
				</dt>
				<?php }?>
				<?php if (C('PRODUCT_CLASS_LEVEL')>=4){?>
				<dt>
					<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['class_name_4'];?>
：</label>
            		<input type="hidden" name="query[class_4]">
            		<input type='text' url="<?php echo U('/AutoComplete/productClass');?>
" where="<?php echo urlencode("class_level=4");?>
" jqac>
				</dt>
				<?php }?>
				<dt>
					<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['stop_date'];?>
：</label>
					<input type="text" name="stop_date" class="Wdate spc_input" onClick="WdatePicker()"/>
            	</dt>
            	<?php if (C('multi_storage')==1){?>
				<dt>
					<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['warehouse'];?>
：</label>
					<input type="hidden" name="query[a.warehouse_id]">
            		<input type='text' url="<?php echo U('/AutoComplete/warehouse');?>
" jqac>
            	</dt>
				<dt>
					<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['fcshow'];?>
：</label>
					<?php echo smarty_function_radio(array('data'=>C('YES_NO'),'name'=>"show_warehouse"),$_smarty_tpl);?>

            	</dt>
            	<?php }?>
		</dl>	
		<input type="hidden" name="date_key" value="2">
__SEARCH_END__
</form>
<?php echo smarty_function_note(array('tabs'=>"realStorage"),$_smarty_tpl);?>

<div id="print" class="width98">
<?php echo $_smarty_tpl->getSubTemplate ("RealStorage/list.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</div> 

<?php }} ?>